package com.bauer.java.spring.web;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;

/**
 * @Author ：rui.wei
 * @Date ：Created in 10:57 2018/8/22
 * @Description：
 */
@Component
public class Appconext implements ApplicationContextAware {

    @Autowired
    private Testservice testservice;

    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        System.out.println("ss");
    }
}
